package com.stylefeng.guns.wx.common.factory;

import com.baomidou.mybatisplus.plugins.Page;

/**
 * BootStrap Table默认的分页参数创建
 *
 * @author fengshuonan
 * @date 2017-04-05 22:25
 */
public class PageFactory<T> {

    public Page<T> OneNumPage(int limit) {
        Page<T> page = new Page<>(1, limit);
        page.setOpenSort(false);
        return page;
    }
}
